package com.alks.function.service.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.PcSlipDetailPacks;
import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.dto.finance.costcheck.PcPackDetailsReq;
import com.alks.function.data.request.stockdept.pcfactorystockwork.CsmDetAddRequest;
import com.alks.function.data.request.stockdept.pcfactorystockwork.CsmDetRequest;
import com.alks.function.data.request.stockdept.pcfactorystockwork.LotMtlRequest;

import java.util.List;
import java.util.Map;

public interface IPackMtlIOService {

    ResponseInfo getPackTempQuery(String slipType);

    ResponseInfo getPackLotMtlQuery(LotMtlRequest request, String slipType);

    ResponseInfo getPackDetQuery(CsmDetRequest request, String slipType);

    void packTempAdd(List<Map<String, String>> request, String slipType);

    ResponseInfo packTempUp(String item, Float qty, String remark, String slipType);

    String packDetailAdd(CsmDetAddRequest request, String slipType);

    ResponseInfo packTempDelete(List<String> itemList, String slipType);

    ResponseInfo packDetDelete(List<Integer> idList, String slipType);

    ResponseInfo getSlipDetailPack(PcPackDetailsReq req);

    ResponseInfo optionPackCheck(List<String> list, String check);

    ResponseInfo setRemarkPack(List<String> slipNos, String remark);

    ResponseInfo getPcSlipPackDetail(String slipNo);

    ResponseInfo savePcSlipPackDetail(List<PcSlipDetailPacks> list);

    ResponseInfo setUnitPrice(List<PcSlipDetailPacks> list);
}
